package com.kongge.viewdisplayframeworklib.model;

import com.kongge.viewdisplayframeworklib.event.action.EQGotoFrameAction;

/**
 * Created by kongge on 2017/11/17.
 * description:
 * layoutid:
 */
public class RuntimeManager {

    private EQGotoFrameAction action;

    private static RuntimeManager instance;

    private RuntimeManager() {

    }

    public static RuntimeManager getInstance() {
        if (instance == null) {
            synchronized (RuntimeManager.class) {
                if (instance == null) {
                    instance = new RuntimeManager();
                }
            }
        }
        return instance;
    }

    public EQGotoFrameAction getAction() {
        return action;
    }

    public void setAction(EQGotoFrameAction action) {
        this.action = action;
    }
}
